package com.jr.service.impl;

import com.jr.entry.PersonalInformation;
import com.jr.mapper.PersonAlInformationMapper;
import com.jr.service.PersonalinformationService;
import com.jr.util.ResultObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PersonalinformationServiceImpl implements PersonalinformationService {
    @Autowired
    private PersonAlInformationMapper personAlInformationMapper;
            /*更新个人中心的信息*/
    @Override
    public boolean updatePersonalinformation(PersonalInformation personalInformation) {
       Integer i = personAlInformationMapper.updateInformation(personalInformation);
//        System.out.println("service实现类的返回"+personAlInformationMapper.updateInformation(personalInformation));
        return i==1?true:false;

    }
}
